#!/usr/bin/python
# -*- coding: utf-8 -*-
'''
5、求100以内的质数（只能被1和它本身整除）
'''

class Zhishu(object):
    def __init__(self, num):
        self.num = num

    def Number_01(self):
        a = []
        for i in range(2, self.num):
            for j in range(2, i):
                if i % j == 0 :
                    break
            else:
                a.append(i)
        print(a)


if __name__ == '__main__':
    result = Zhishu(100)
    result.Number_01()








